package com.zueb.pojo;

//疫苗对象
public class Vaccination {
    private Integer vacId;
    private String identification;
    private String username;
    private String vaccineId;
    private String vaccineName;
    private Integer frequency;
    private String time;
    private String factory;
    private UserInfo userInfo;

    public Vaccination() {
    }

    public Vaccination(Integer vacId, String identification, String username, String vaccineId, String vaccineName, Integer frequency, String time, String factory, UserInfo userInfo) {
        this.vacId = vacId;
        this.identification = identification;
        this.username = username;
        this.vaccineId = vaccineId;
        this.vaccineName = vaccineName;
        this.frequency = frequency;
        this.time = time;
        this.factory = factory;
        this.userInfo = userInfo;
    }

    public Integer getVacId() {
        return vacId;
    }

    public void setVacId(Integer vacId) {
        this.vacId = vacId;
    }

    public String getIdentification() {
        return identification;
    }

    public void setIdentification(String identification) {
        this.identification = identification;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getVaccineId() {
        return vaccineId;
    }

    public void setVaccineId(String vaccineId) {
        this.vaccineId = vaccineId;
    }

    public String getVaccineName() {
        return vaccineName;
    }

    public void setVaccineName(String vaccineName) {
        this.vaccineName = vaccineName;
    }

    public Integer getFrequency() {
        return frequency;
    }

    public void setFrequency(Integer frequency) {
        this.frequency = frequency;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public UserInfo getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(UserInfo userInfo) {
        this.userInfo = userInfo;
    }

    @Override
    public String toString() {
        return "Vaccination{" +
                "vacId=" + vacId +
                ", identification='" + identification + '\'' +
                ", username='" + username + '\'' +
                ", vaccineId='" + vaccineId + '\'' +
                ", vaccineName='" + vaccineName + '\'' +
                ", frequency=" + frequency +
                ", time='" + time + '\'' +
                ", factory='" + factory + '\'' +
                ", userInfo=" + userInfo +
                '}';
    }
}
